home *** CD-ROM | disk | FTP | other *** search
- !!Script
- // Copyright ⌐ 1997-1998 - Modelworks Software
-
- // Insert script helper for:
-
- /**
- @Object: Bookmark
- @Method: set(startLineIndex [, endLineIndex]) - Sets the line index range for this Bookmark.
- The default value for endLineIndex is startLineIndex.
- @Syntax: bookmark.set(startLineIndex [, endLineIndex])
- @Summary: set - Sets the line index range for this Bookmark
- */
-
- function DoCommand()
- {
- var editor = getActiveEditor();
- if (editor)
- {
- var selection = editor.getSelection();
- editor.replace("bookmark.set(startLineIndex [, endLineIndex])", selection);
- editor.setActive("Insert bookmark.set");
- }
- }
-
- !!/Script
-